#!/bin/sh

### Customize below ###

myhostname = yourhostname
mydomain = your.fdqn
relay_domains = your.fqdn
max_serves = number of scanners to run 2 to 15 is typical
sql-dsn = not sure if this is needed yet

### Done customizations ###

## This is the install of all the required stuff ##

apt-get install -y libclamav1 libgmp3c2
apt-get install -y clamav-base clamav-freshclam clamav-daemon
apt-get install -y postfix postfix-pcre postfix-mysql postfix-ldap spamassassin razor smarty dcc-client mysql-server
apt-get install -y php5 php-pear php5-gd php5-imap php5-ldap php5-mcrypt php5-mysql apache2-mpm-prefork libapache2-mod-auth-mysql libapache2-mod-perl2 libapache2-mod-php5
apt-get install -y libcrypt-blowfish-perl libcrypt-cbc-perl libdbd-mysql-perl libossp-uuid-perl libtemplate-perl libwww-perl
apt-get install -y libdigest-sha1-perl libhtml-parser-perl libdbd-mysql-perl libdbi-perl libunix-syslog-perl libio-stringy-perl libnet-perl libnet-server-perl libmailtools-perl libmime-perl libconvert-uulib-perl libconvert-tnef-perl libarchive-zip-perl libarchive-tar-perl
apt-get install -y cabextract libberkeleydb-perl libdigest-sha1-perl libdigest-hmac-perl libnet-dns-perl pax
apt-get install -y altermime
apt-get install -y postgrey
pear upgrade pear
pear install -a Net_SMTP
pear install DB
pear install DB_Pager
pear install Log
pear install Mail_Mime
pear install Net_IMAP
pear install Net_POP3
pear install Image_Color
pear install -f Image_Canvas
pear install -f Numbers_Words
pear install -f Numbers_Roman
pear install -f Image_Graph

## Call the maia install ##

wget ??
install_maia.sh

## Start setting up the config files ##

ln -s /etc/amavis/amavisd.conf /etc/amavisd.conf

